package cate.game.activity.worldboss.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBWorldBoss;
import cate.game.res.MixRes;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "世界Boss挑战结果 の 返回")
public class WorldBossChallengeResultResp implements MsgOutput {
    @NoteField(value = "功能ID")
    public int funcId;

    @NoteField("是否胜利")
    public boolean win = true;

    @NoteField("奖励")
    public MixRes reward;

    @NoteField("总伤害")
    public double damage;

    public WorldBossChallengeResultResp() {

    }

    public WorldBossChallengeResultResp(int funcId, MixRes reward,double damage) {
        this.funcId = funcId;
        this.reward = reward;
        this.damage = damage;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBWorldBoss.CHALLENGE_RESULT;
    }
}
